package com.hmdp.utils;

/**
 * @Author: Bin
 * @description:
 * @date: 2025-07-15 15:37
 */
public interface ILock {

    /*
    * 尝试获取锁
     */
    boolean tryLock(long timeoutSec);

    /*
    * 释放锁
     */
    void unLock();

}
